package math;

public class Mouse implements USB{
    private String name;

    public void connect(){
        System.out.println(name + "鼠标连接设备了");
    }

    public void click(){
        System.out.println(name + "鼠标点击了烙铁~");
    }
    // 1.构造方法

    public Mouse(String name) {
        this.name = name;
    }

    // 2.Getter Setter

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
